package com.apps.sannotation.constraints;

import java.lang.annotation.*;

/**
 * 验证小数点后的位数是否合格
 */
@Target({ElementType.FIELD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DecimalMaxLen {

    int maxlen() default 2;


    String errMsg() default "小数位过长";
}
